﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// WXTemplate 的摘要说明
/// </summary>
public class WXTemplate
{
    /// <summary>
    /// 开课提现模版消息
    /// </summary>
    /// <param name="userName"></param>
    /// <param name="courseName"></param>
    /// <param name="date"></param>
    /// <param name="remark"></param>
    /// <returns></returns>
    public static object ClassWarn(string userName, string courseName, string date, string remark)
    {
        var data = new
        {
            userName = new TemplateDataItem(userName, "#3990eb"),
            courseName = new TemplateDataItem(courseName, "#3990eb"),
            date = new TemplateDataItem(date, "#3990eb"),
            remark = new TemplateDataItem(remark, "#000000")
        };
        return data;
    }

    public static object RegisterSuccessful(string first, string keyword1, string keyword2, string remark)
    {
        var data = new
        {
            first = new TemplateDataItem(first, "#000000"),
            keyword1 = new TemplateDataItem(keyword1, "#3990eb"),
            keyword2 = new TemplateDataItem(keyword2, "#3990eb"),
            remark = new TemplateDataItem(remark, "#000000")
        };
        return data;
    }
}